package com.tpf.spring;

import com.tpf.spring.bean.Person;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * <p> </p >
 *
 * @author : tianpf
 * @version :  XmlMainTest.java,v 1.0, 2021/3/3-9:49 tianpengfei Exp $
 */
public class XmlMainTest {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");

		Person person = context.getBean(Person.class);

		System.out.println(person);
	}
}
